]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Provide a finish method
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 26 Aug 2013 22:02:04 +0000 (18:02 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 26 Aug 2013 22:04:20 +0000 (18:04 -0400)
The screenShield expects to be able to call finish on the dialog.

js/gdm/loginDialog.js

index c6c4f02d3c6f037a0d41b7a1e498e45c9f0e586d..d1f3db342f16cb2c0b1eeb01f6a26544a069bb4b 100644 (file)
@@ -921,5 +921,9 @@ const LoginDialog = new Lang.Class({
     addCharacter: function(unichar) {
         this._authPrompt.addCharacter(unichar);
     },
+
+    finish: function(onComplete) {
+        this._authPrompt.finish(onComplete);
+    },
 });
 Signals.addSignalMethods(LoginDialog.prototype);